package com.sn.shop.service;

import com.github.pagehelper.PageInfo;
import com.sn.shop.model.Category;
import com.sn.shop.model.CategoryTree;
import com.sn.shop.model.Paging;
import com.sn.shop.request.RequestSearchCategory;

import java.util.List;

/**
 * @auther sn
 * @date 2018/2/5
 * @description TODO
 */
public interface CategoryService {

    public PageInfo<Category> findAllList(RequestSearchCategory category, Paging paging);

    public CategoryTree selectTree();

    public int add(Category category);

    public int batchDelete(String ids);
}
